package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.UserRolePrivileges;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface UserRolePrivilegesService {

    int insert(UserRolePrivileges record);

    int insertSelective(UserRolePrivileges record);

    List<UserRolePrivileges> selectUserRolePrivilegesByUserName(@RequestParam("userName") String userName);

    List<UserRolePrivileges> selectUserRolePrivilegesByAdminId(@RequestParam("adminId") int adminId);

    List<UserRolePrivileges> selectUserRolePrivilegeList();

}
